package design_pattern.facade;

/**
 * Created by WeiDingKuo on 2017/10/27 17:20
 * <p>
 * 门面类
 */
public class FacadeImpl1 implements Facade {
    private Method1 method1 = new Method1();
    private Method2 method2 = new Method2();

    @Override
    public void dosomething() {
        method1.dosomething();
        method2.dosomething();
    }
}
